package cn.fresh.xuanyuan.module.infra.dal.dataobject.column;

import cn.fresh.xuanyuan.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;

@TableName("mall_column_product")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Builder(toBuilder = true)
public class MallColumnProductDO extends BaseDO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long productId;

    private String productName;

    private String productImage;

    private BigDecimal salePrice;

    private BigDecimal payPrice;

    private Integer sort;

    private Integer type;

    private String activityType;

    private Integer columnId;

}
